projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bd6a13
)
fix PDPE entry in P2M table under 32bit PAE hypervisor
author
root@xenhog02.amd.com
<root@xenhog02.amd.com>
Mon, 26 Feb 2007 05:58:33 +0000
(23:58 -0600)
committer
root@xenhog02.amd.com
<root@xenhog02.amd.com>
Mon, 26 Feb 2007 05:58:33 +0000
(23:58 -0600)
xen/arch/x86/mm/p2m.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/p2m.c
b/xen/arch/x86/mm/p2m.c
index cc42ed8c6af58f66c2410a763d3d20f8b22321c7..2161fd929ca98fca648dda332f6386378da7b57a 100644
(file)
--- a/
xen/arch/x86/mm/p2m.c
+++ b/
xen/arch/x86/mm/p2m.c
@@
-145,6
+145,10
@@
p2m_next_level(struct domain *d, mfn_t *table_mfn, void **table,
paging_write_p2m_entry(d, gfn, p2m_entry, new_entry, 4);
break;
case PGT_l2_page_table:
+#if CONFIG_PAGING_LEVELS == 3
+ /* for PAE mode, PDPE only has PCD/PWT/P bits available */
+ new_entry = l1e_from_pfn(mfn_x(page_to_mfn(pg)), _PAGE_PRESENT);
+#endif
paging_write_p2m_entry(d, gfn, p2m_entry, new_entry, 3);
break;
case PGT_l1_page_table: